public class Main {
    public static void main(String[] args) {
        IAbstractFactory factory =new Factory();
        System.out.println("三件套工厂:");
       System.out.println(factory.CreatePillowcase().ShowName());
       System.out.println(factory.CreateBedsack().ShowName());
       System.out.println(factory.CreateSheet().ShowName());
        
    }
}
